package com.blb.examsystem.service;

import com.blb.common.entity.PageBean;
import com.blb.common.entity.Question;

public interface QuestionService {

    //分页
    PageBean<Question> findPage(int current);

    //按题目查找后分页
    PageBean<Question> findPageByContent(String content,int current);

    //添加
    int addQuestion(Question question);

    //按id查找
    Question findById(int id);

    //更新
    int modifyQuestion(Question question);

    //删除
    int removeQuestion(int id);
}
